package org.xymtop.tbdemo.xmqtt.ann;


import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

//标注订阅的主题
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface XSubscription {

    //主题
    String topic() default "testtopic/1" ;

}
